export default Layout => ({
    path: "/business",
    redirect: {name: "business"},
    component: Layout,
    meta: {title: "业务中心", icon: "briefcase"},
    children: [
        {
            path: "business-list",
            name: "business-list",
            meta: {title: "业务项目列表", icon: "ballot-check"},
            component: () => import("@/views/business-list"),
        },
        // {
        //     path: "business",
        //     name: "business",
        //     meta: {title: "款项结算", icon: "chart-histogram"},
        //     component: () => import("@/views/business-manage"),
        // },
        {
            path: "business-detail",
            name: "business-detail",
            meta: {title: "业务项目详情"},
            component: () => import('@/views/business-detail')
        },
        // {
        //     path: "settlement",
        //     name: "settlement",
        //     meta: {title: "款项结算",icon: "chart-histogram"},
        //     component: () => import('@/views/business-settlement')
        // },
        {
            path: "supplier-list",
            name: "supplier-list",
            meta: {title: "供应商", icon: "chart-histogram"},
            component: () => import('@/views/supplier-list')
        },
        {
            path: "custom-list",
            name: "custom-list",
            meta: {title: "客户列表", icon: "chart-histogram"},
            component: () => import('@/views/custom-list')
        },
        {
            path: "account-list",
            name: "account-list",
            meta: {title: "结款账户", icon: "chart-histogram"},
            component: () => import('@/views/account-list')
        },
        {
            path: "feedback-list",
            name: "feedback-list",
            meta: {title: "业务反馈", icon: "chart-histogram"},
            component: () => import('@/views/feedback-list')
        },

    ],
})
